import request from '@/utils/request'
// 查询合同用户
export function getContarctUserList(query) {
    return request({
      url: '/wb/contarctUser/list',
      method: 'get',
      params: query
    })
  }
  
  // 查看
export function getContarctUser(id) {
    return request({
      url: '/wb/contarctUser/' + id,
      method: 'get'
    })
  }
  // 新增合同用户
  export function addContarctUser(data) {
    return request({
      url: '/wb/contarctUser',
      method: 'post',
      data: data
    })
  }
  
  // 修改合同用户
  export function updateContarctUser(data) {
    return request({
      url: '/wb/contarctUser',
      method: 'put',
      data: data
    })
  }
  
  // 删除疏散通道
  export function delContarctUser(id) {
    return request({
      url: '/wb/contarctUser/' + id,
      method: 'delete'
    })
  }